<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>dinic: Fichero Fuente plist.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&nbsp;de&nbsp;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Buscar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
      <li><a href="globals.html"><span>Globales</span></a></li>
    </ul>
  </div>
<h1>plist.h</h1><a href="plist_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef PLIST_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define PLIST_H</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00009"></a>00009 
<a name="l00010"></a><a class="code" href="plist_8h.html#a3df5c3e11505712b464a32350aa7c54a">00010</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structplist__s.html">plist_s</a> *<a class="code" href="structplist__s.html">plist_t</a>;
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 
<a name="l00022"></a>00022 plist_t <a class="code" href="plist_8c.html#ad3b09323344e99e2ccb09a5e2fc917e5" title="Crea una nueva lista.">plist_create</a>(<span class="keywordtype">void</span>);
<a name="l00023"></a>00023 
<a name="l00031"></a>00031 <span class="keywordtype">int</span> <a class="code" href="plist_8c.html#a72bd4ee403ebd997d42759193a744afe" title="Elimina una lista, incluyendo los elementos que contenga.">plist_destroy</a>(plist_t *list);
<a name="l00032"></a>00032 
<a name="l00040"></a>00040 <span class="keywordtype">bool</span> <a class="code" href="plist_8c.html#aa937c43dc0fdbd0f6d85dc93e2055129" title="Añade un elemento en la parte delantera de la lista.">plist_push</a>(plist_t list, <span class="keywordtype">void</span> *elem);
<a name="l00041"></a>00041 
<a name="l00048"></a>00048 <span class="keywordtype">void</span>* <a class="code" href="plist_8c.html#ace5353211068a02e7f3c8b5b43f4a5e9" title="Quita el primer elemento de la lista.">plist_pop</a>(plist_t list);
<a name="l00049"></a>00049 
<a name="l00057"></a>00057 <span class="keywordtype">bool</span> <a class="code" href="plist_8c.html#ae3b6b6dc91dc111c3be62034e211d626" title="Añade un elemento en la parte trasera de la lista.">plist_append</a>(plist_t list, <span class="keywordtype">void</span> *elem);
<a name="l00058"></a>00058 
<a name="l00067"></a>00067 <span class="keywordtype">void</span>* <a class="code" href="plist_8c.html#ab3179205df8ca08d53ab207a302fce5e" title="Quita el ultimo elemento que fue añadido detras de la lista. Siendo una lista simple...">plist_remove_last</a>(plist_t list);
<a name="l00068"></a>00068 
<a name="l00076"></a>00076 <span class="keywordtype">bool</span> <a class="code" href="plist_8c.html#a1561662a0167449ba2993385b0ca6730" title="Verifica si la lista carece de elementos.">plist_is_empty</a>(plist_t list);
<a name="l00077"></a>00077 
<a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="plist_8c.html#aed0000886ff7825cd317a6e46c08c57b" title="Hace que la inspeccion apunte al primer elemento de la lista.">plist_rewind</a>(plist_t list);
<a name="l00084"></a>00084 
<a name="l00090"></a>00090 <span class="keywordtype">void</span>* <a class="code" href="plist_8c.html#a04d8c0fde97f9acd58bd13e1de967b97" title="Devuelve el siguiente elemento en la inspeccion de la lista.">plist_get_next</a>(plist_t list);
<a name="l00091"></a>00091 
<a name="l00098"></a>00098 <span class="keywordtype">void</span>* <a class="code" href="plist_8c.html#a5a0e1aa0c50d3e7b1a9137098a31189b" title="Devuelve el ultimo elemento de la lista.">plist_get_last</a>(plist_t list);
<a name="l00099"></a>00099 
<a name="l00100"></a>00100 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Tipos definidos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Definiciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generado el Mon Jun 6 20:15:28 2011 para dinic por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
